package com.wavehi.pojo;

import lombok.*;

/**
 * @Author WaveHi
 * @Date 5/9/2021 下午 8:26
 * @Version 1.0
 * @Contact HJBWaveHi@163.com
 * @Description 产品类
 */
@NoArgsConstructor
@AllArgsConstructor
@Setter
@Getter
@ToString
public class Product {
    private Long pId;//产品id
    private String pProductName;//产品名
    private Long pDirId;//产品目录id
    private Double pSalePrice;//产品的销售价格
    private String pSupplier;//产品供应商
    private String pBrand;//产品商标
    private Double pCutoff;//产品折扣
    private Double pCostPrice;//产品的成本价

    public Product(String pProductName, Long pDirId, Double pSalePrice, String pSupplier,
                   String pBrand, Double pCutoff, Double pCostPrice) {
        this.pProductName = pProductName;
        this.pDirId = pDirId;
        this.pSalePrice = pSalePrice;
        this.pSupplier = pSupplier;
        this.pBrand = pBrand;
        this.pCutoff = pCutoff;
        this.pCostPrice = pCostPrice;
    }
}
